package ua.ad.consumer;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * 
 * @author ricardo
 *
 */
public class SchedulerManager implements Runnable {

	private static final Logger LOGGER = Logger.getLogger(SchedulerManager.class.getName());

	public void run() {
		
		LOGGER.log(Level.INFO,"Begining the load of Feeds.");
		
		FeedsManager fm = new FeedsManager();
		fm.loadAllFeeds();
		fm.commitAndCloseConnection();
		
		LOGGER.log(Level.INFO,"All feeds where added.");
		
	}

}
